import request from '@/utils/request'
// 点检列表查询
export function queryCheckList(data) {
  return request({
    url: `/mes/m/repair/check/queryDeviceCheck`,
    method: 'post',
    data
  })
}

// 根据计划id 获取录入信息
export function getInputInfo(code) {
  return request({
    url: `/mes/m/repair/check/queryById?deviceCheckCode=${code}`,
    method: 'get'
  })
}

export function batchRemove(data) {
  return request({
    url: `/mes/m/repair/check/deleteById`,
    method: 'delete',
    data
  })
}
